package com.example.administrator.x3picturetransliteration.Base;

import android.content.Context;

import com.example.administrator.x3picturetransliteration.Http.DataManager;

import rx.subscriptions.CompositeSubscription;

public class BasePresenter {

    public Context context;
    public CompositeSubscription mCompositeSubscription;
    public DataManager mDataManager;
    public HttpGo mHttpGo;

    public BasePresenter(Context context, CompositeSubscription mCompositeSubscription){

        this.context = context;
        this.mCompositeSubscription = mCompositeSubscription;
        this.mDataManager = new DataManager();
        this.mHttpGo = new HttpGo(context);
    }

    public interface Callback{

        public void getData(Object data);
    }

}
